<template>
  <div class="footer-container">
    <div class="friend-link">
      <ul class="links">
        <li>
          <a href="##">关于我们</a>
        </li>
        <li>
          <a href="##">帮助中心</a>
        </li>
        <li>
          <a href="##">售后服务</a>
        </li>
        <li>
          <a href="##">配送与验收</a>
        </li>
        <li>
          <a href="##">商务合作</a>
        </li>
        <li>
          <a href="##">搜索推荐</a>
        </li>
        <li>
          <a href="##">友情链接</a>
        </li>
        <li>
          <a target="_blank" href="https://gitee.com/lcy-mayun/best-shopping-c">获取源码</a>
        </li>
        <li>
          <a href="##" @click="showCode = true">鼓励我们</a>
        </li>
      </ul>
    </div>
    <div class="right">Copy Right &copy; 2022 李朝阳，All rights reserved.</div>
    <el-dialog title="鼓励我们" :visible.sync="showCode" width="30%">
      <div>
        <h2>支付宝</h2
        ><img src="@/assets/qrcode/qrcode-z.png" alt="支付宝" />
      </div>
      <div>
        <h2>微信</h2><img src="@/assets/qrcode/qrcode-w.png" alt="微信" />
      </div>
    </el-dialog>
  </div>
</template>

<script>
export default {
  name: "FootertIndex",
  components: {},
  props: {},
  data() {
    return {
      showCode: false,
    };
  },
  created() {},
  mounted() {},
  methods: {},
  computed: {},
  watch: {},
};
</script>

<style scoped lang="less">
.footer-container {
  background-color: #fff;
  min-width: 1573px;
  width: 100%;
  margin-top: 60px;
  line-height: 60px;
  text-align: center;
  font-size: 16px;
  color: #aaa;

  .friend-link {
    width: 85%;
    height: 60px;
    margin: 0 auto;
    min-width: 1430px;
    .links {
      height: 100%;
      margin: 0 auto;
      width: 1380px;
      li {
        float: left;
        width: 150px;
        a {
          color: inherit;
        }
        a:hover {
          color: #ff4746;
        }
      }
    }
  }
}

:deep(.el-dialog__wrapper) {
  .el-dialog {
    width: 550px !important;
    .el-dialog__body {
      display: flex;
      justify-content: space-between;
      img {
        height: 200px;
      }
    }
  }
}
</style>
